﻿// Decompiled with JetBrains decompiler
// Type: UnityEngine.Windows.LicenseInformation
// Assembly: UnityEngine.CoreModule, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null
// MVID: E6AE6B5A-2752-4B07-9528-C8B77C62CE79
// Assembly location: C:\Users\windys\Unity\2021.3.39f1c1\Editor\Data\Managed\UnityEngine\UnityEngine.CoreModule.dll
// XML documentation location: C:\Users\windys\Unity\2021.3.39f1c1\Editor\Data\Managed\UnityEngine\UnityEngine.CoreModule.xml

using System.Runtime.CompilerServices;
using UnityEngine.Bindings;

#nullable disable
namespace UnityEngine.Windows
{
  /// <summary>
  ///   <para>This class provides information regarding application's trial status and allows initiating application purchase.</para>
  /// </summary>
  [NativeHeader("PlatformDependent/MetroPlayer/Bindings/ApplicationTrialBindings.h")]
  public static class LicenseInformation
  {
    /// <summary>
    ///   <para>Checks whether the application is installed in trial mode.</para>
    /// </summary>
    public static extern bool isOnAppTrial { [MethodImpl(MethodImplOptions.InternalCall)] get; }

    /// <summary>
    ///   <para>Attempts to purchase the app if it is in installed in trial mode.</para>
    /// </summary>
    /// <returns>
    ///   <para>Purchase receipt.</para>
    /// </returns>
    [MethodImpl(MethodImplOptions.InternalCall)]
    public static extern string PurchaseApp();
  }
}
